﻿using log4net;

namespace Century.Business
{
    public class BusinessClassBase
    {
        protected ILog Log
        {
            get
            {
                return Century.EnterpriseLibrary.LogHandler.Loging.Log;
            }
        }

        protected ILog LogWithName(string loggerName)
        {
            return Century.EnterpriseLibrary.LogHandler.Loging.LogWithName(this.GetType().Name);
        }
    }
}